home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 317 / asmsrc / write.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-20  |  1.6 KB  |  46 lines

  1. /* write.h -> write.c */
  2.  
  3. /* Copyright (C) 1987 Free Software Foundation, Inc.
  4.  
  5. This file is part of Gas, the GNU Assembler.
  6.  
  7. The GNU assembler is distributed in the hope that it will be
  8. useful, but WITHOUT ANY WARRANTY.  No author or distributor
  9. accepts responsibility to anyone for the consequences of using it
  10. or for whether it serves any particular purpose or works at all,
  11. unless he says so in writing.  Refer to the GNU Assembler General
  12. Public License for full details.
  13.  
  14. Everyone is granted permission to copy, modify and redistribute
  15. the GNU Assembler, but only under the conditions described in the
  16. GNU Assembler General Public License.  A copy of this license is
  17. supposed to have been given to you along with the GNU Assembler
  18. so you can know your rights and responsibilities.  It should be
  19. in a file named COPYING.  Among other things, the copyright
  20. notice and this notice must be preserved on all copies.  */
  21.  
  22. /*
  23.  * FixSs may be built up in any order.
  24.  */
  25.  
  26. struct fix
  27. {
  28.   fragS *        fx_frag; /* Which frag? */
  29.   long int        fx_where; /* Where is the 1st byte to fix up? */
  30.   symbolS *        fx_addsy; /* NULL or Symbol whose value we add in. */
  31.   symbolS *        fx_subsy; /* NULL or Symbol whose value we subtract. */
  32.   long int        fx_offset; /* Absolute number we add in. */
  33.   struct fix *        fx_next; /* NULL or -> next fixS. */
  34.   short int        fx_size; /* How many bytes are involved? */
  35.   char            fx_pcrel; /* TRUE: pc-relative. */
  36. };
  37.  
  38. typedef struct fix    fixS;
  39.  
  40.  
  41. COMMON fixS *    text_fix_root;    /* Chains fixSs. */
  42. COMMON fixS *    data_fix_root;    /* Chains fixSs. */
  43. COMMON fixS **    seg_fix_rootP;    /* -> one of above. */
  44.  
  45. /* end: write.h */
  46.